<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class Record extends Model
{
	use HasDateTimeFormatter;
	protected $fillable = [
		'emails_id',
		'email',
		'myanswer'
	];
	public function emailAsk(): BelongsTo
    {
        return $this->belongsTo(Email::class, 'emails_id', 'id');
    }
}
